package util;

public interface Sql {
    /**
     * 生成插入sql语句
     *
     * @param t
     * @param <T>
     * @return
     * @throws IllegalAccessException
     */
    <T> StringBuffer insertSql(T t) throws IllegalAccessException;

    /**
     * 生成删除和查询语句
     *
     * @param t
     * @param dOs
     * @param <T>
     * @return
     * @throws IllegalAccessException
     */
    <T> StringBuffer deleteOrSelectSql(T t, String dOs) throws IllegalAccessException;
}
